<div class="dialog-container mdl-shadow--8dp mdl-layout--fixed-header SMES-dialog BTPrinterSetting-dialog">
    <div class="kmi-header-row">
        <div class="header-title" ng-bind="'BTPrinterSetting.title' | translate"></div>
        <div class="kmi-side-btn right" ng-click="dialog.back();">
            <img src="image/icons/clear.png"></img>
            <div class="kmi-can-click"></div>
        </div>
    </div>
    <div class="kmi-layout-main-content">
        <div class="kmi-layout-page">
            <!--1. 印表機選擇-->
            <div class="kmi-text-fields" style="flex: 1;">
                <label class="label" ng-bind="'BTPrinterSetting.printer_name' | translate"></label>
                <input ng-model="dialog.settings.printer_name" readonly="readonly" ng-click="dialog.selectPrinter();">
                <div class="tip"><i class="material-icons">&#xE5CF;</i></div>
            </div>
            <!--2.標籤寬度設定 / 標籤位置(置左/置中/置右)
            <div class="kmi-text-fields" style="flex: 1;">
                <label class="label" ng-bind="'BTPrinterSetting.printer_width' | translate"></label>
                <input mdl-calculater="dialog.settings.printer_width" mdl-calculater-decimal="true" style="min-width: 88px;flex:1;">
                <label class="label" ng-bind="'BTPrinterSetting.printer_align' | translate"></label>
                <input ng-model="dialog.settings.printer_align" readonly="readonly" ng-click="dialog.selectAlign();">
                <div class="tip"><i class="material-icons">&#xE5CF;</i></div>
            </div>
            -->
            <!--3.標籤自動定位-->
            <div class="kmi-text-fields" style="flex: 1;">
                <label class="label" ng-bind="'BTPrinterSetting.printer_feed' | translate"></label>
                <div class="check-point-switch" ng-class="{'is-selected':dialog.settings.printer_feed == 'Y'}" ng-click="dialog.settings.printer_feed=(dialog.settings.printer_feed=='Y'?'N':'Y')">
                    <div style="width:24px;height:24px;"></div>
                </div>
            </div>
            <!--3. 標籤高度設定
            <div class="kmi-text-fields" style="flex: 1;">
                <label class="label" ng-bind="'BTPrinterSetting.printer_height' | translate"></label>
                <input mdl-calculater="dialog.settings.printer_height" mdl-calculater-decimal="true" style="min-width: 88px;flex:1;">
            </div>
            -->
            <!--3. 起始點設定
            <div class="kmi-text-fields" style="flex: 1;">
                <label class="label" ng-bind="'B0206.printer_startposition' | translate"></label>
                <input mdl-calculater="dialog.settings.printer_startposition" mdl-calculater-decimal="true" style="min-width: 88px;flex:1;">
                <label class="label" ng-bind="'B0206.printer_length' | translate"></label>
                <input mdl-calculater="dialog.settings.printer_length" mdl-calculater-decimal="true" style="min-width: 88px;flex:1;">
            </div>
            -->
            <div class="btn-content">
                <div class="kmi-button kmi-button-confrim btn-confirm" ng-click="dialog.confirm()"  style="width:100px">
                    <label ng-bind="'common.btn.confirm' | translate"></label>
                    <div class="kmi-can-click" ></div>
                </div>
            </div>
        </div>
    </div>
</div>
